package com.ruoyi.inventory.domain;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 产品结构清单对象 t_product_struct
 *
 * @author xwj
 * @date 2024-08-09
 */
@TableName("t_product_struct")
@Data
public class ProductStruct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    @ApiModelProperty("产品id")
    private Long productId;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    @ApiModelProperty("创建人id")
    private Long createId;
    private Date createTime;
    private String createBy;

    /**
     * 更新人id
     */
    @Excel(name = "更新人id")
    @ApiModelProperty("更新人id")
    private Long updateId;
    private Date updateTime;
    private String updateBy;

    private String remark;

    @TableField(exist = false)
    private Double amount;

    /**
     * 产品结构清单-详情信息
     */
    @TableField(exist = false)
    private List<ProductStructDetail> productStructDetailList;


}
